package pt.utl.ist.project_ccu;

import java.util.HashMap;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.CheckBox;

public class UploadPhotos extends Activity {
	
	HashMap<String,Button> buttons;
	Button upload;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_upload_photos);
        
        setupButtons();
        
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_upload_photos, menu);
        return true;
    }
    
    public void setupButtons() {
    	buttons = new HashMap<String,Button>();
    	
    	upload = (Button) findViewById(R.id.upload);
    	
    	buttons.put("upload", upload);
    	
    	upload.setOnClickListener(new OnClickListener() {
			
			public void onClick(View arg0) {
				startActivity(new Intent (getApplicationContext(), AddTags.class));
			}
		}); 
    }
}
